package com.school.empsys.service;

import com.school.empsys.dto.ResponseInfo;
import com.school.empsys.model.EmpAttendance;

import java.util.List;
import java.util.Map;

public interface EmpAttendanceService {
    int count(Map<String, Object> params);

    List<EmpAttendance> list(Map<String, Object> params, Integer offset, Integer limit);

    void save(EmpAttendance param);

    EmpAttendance findOne(Integer id);

    ResponseInfo punchIn();

    ResponseInfo punchOut();

    ResponseInfo checkPunch(String type);

    void dailyAttendance();
}
